/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 救援通知记录表实体类
 *
 * @author ysq
 * @since 2023-09-14
 */
@Data
@TableName("blade_rescue_notice")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RescueNotice对象", description = "救援通知记录表")
public class RescueNotice extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 一键呼叫id
	 */
	@ApiModelProperty(value = "一键呼叫id")
	private String callId;
	/**
	 * 设备id
	 */
	@ApiModelProperty(value = "设备id")
	private String deviceId;
	/**
	 * 业务id前缀
	 */
	@ApiModelProperty(value = "业务id前缀")
	private String bizPrefix;
	/**
	 * 业务编号
	 */
	@ApiModelProperty(value = "业务编号")
	private Integer num;
	/**
	 * 工单id
	 */
	@ApiModelProperty(value = "工单id")
	private Long planId;
	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id")
	private Long buildingId;
	/**
	 * 项目名称
	 */
	@ApiModelProperty(value = "项目名称")
	private String buildingName;
	/**
	 * 电梯id
	 */
	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;
	/**
	 * 电梯详情位置
	 */
	@ApiModelProperty(value = "电梯详情位置")
	private String elevatorAddress;
	/**
	 * 紧急呼叫时间
	 */
	@ApiModelProperty(value = "紧急呼叫时间")
	private Date callTime;

	/**
	 * 楼层
	 */
	@ApiModelProperty(value = "楼层")
	private String floorNumber;

	/**
	 * 2025-07 新增
	 * 告警等级
	 */
	@ApiModelProperty(value = "告警等级")
	private Integer eventLevel;

	/**
	 * 2025-07 新增
	 * 告警名称
	 */
	@ApiModelProperty(value = "告警名称")
	private String eventName;

	/**
	 * 2025-07 新增
	 * 告警代码 0:物联网告警 99:一键呼救
	 */
	@ApiModelProperty(value = "告警代码")
	private String eventCode;

	/**
	 * 2025-07 新增
	 * 确认类型
	 */
	@ApiModelProperty(value = "确认类型 1-准确无误 2-误报 3-无法确定")
	private Integer confirmType;

	/**
	 * 2025-07 新增
	 * 冗余创建时电梯停梯状态
	 */
	@ApiModelProperty(value = "电梯停梯状态 1-正常 2-停梯")
	private Integer elevatorStop;

	/**
	 * 2025-07 新增
	 * 提交确认备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;

	/**
	 * 2025-07 新增
	 * 消费超时确认时间，有则未超时，无则超时，记录的是超时那一刻的时间
	 */
	@ApiModelProperty(value = "消费超时确认时间")
	private Date timeOutTime;

	@ApiModelProperty(value = "确认时间")
	private Date confirmTime;

	@ApiModelProperty(value = "确认人id")
	private Long confirmUserId;

	@ApiModelProperty(value = "确认人")
	private String confirmUser;

}
